<!--#include file="Config.asp" -->
<!--#include file="HeadTop.asp"-->
<%
Action=Trim(Request("Action"))
'update更新
If Action="Mod" Then
	Nature =Trim(Request.Form("Nature"))
	Salary =Trim(Request.Form("Salary"))
	Position_b =Trim(Request.Form("Position_b"))
	Province =Trim(Request.Form("Province"))
	Conn.Execute("update Users set Nature = '"& Nature &"' , Salary = '"& Salary &"' , Position_b = '"& Position_b &"' , Province = '"& Province &"' where ID = "& session("AnyPIM_userID"))
End If

Rs.Open "select * from Users where ID = "& session("AnyPIM_userID"),Conn,1,1
If Rs.Eof Then
	Position_b = ""
	Salary = ""
	Nature = ""
	Province = ""
Else
	Nature = Rs("Nature")
	Salary = Rs("Salary")
	Position_b = Rs("Position_b")
	Province = Rs("Province")
End If
Rs.Close
%>

<TABLE class="table table-condensed">
<form id="PerForm" name="PerForm" method="post" action="?Action=Mod" onsubmit="return CheckForm();">
	<tr>
		<td width="13%" bgcolor='#ddeeff'>求职类型：</td>
		<td width="87%" ><input name="Nature" type="text" value="<%=Nature%>" size="50" /></td>
	</tr>
	<tr>
		<td bgcolor='#ddeeff'>希望职位：</td>
		<td ><input name="Position_b" type="text" value="<%=Position_b%>" size="50" /></td>
	</tr>
	<tr>
		<td bgcolor='#ddeeff'>希望地区：</td>
		<td ><input name="Province" type="text" value="<%=Province%>" size="50" /></td>
	</tr>
	<tr>
		<td bgcolor='#ddeeff'>期望薪水：</td>
		<td ><input name="Salary" type="text" value="<%=Salary%>" size="50" /></td>
	</tr>
	<tr>
		<td bgcolor='#ddeeff'>&nbsp;</td>
		<td ><input type="submit" name="Submit" value="更新" />
</td>
	</tr>
</form>
</table>

<!-- #include file="foot.asp" -->
